package cn.tedu.travelsystem.hotel.mapper;

import cn.tedu.travelsystem.hotel.pojo.entity.Hotel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface HotelMapper {
    int insert(Hotel hotel);
    int deleteById(Integer hotel_id);
    int update(Hotel hotel);
    Hotel selectById(Integer hotel_id);
    List<Hotel> selectAll();

    List<Hotel> selectByBudget(BigDecimal maxBudget);
}